/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kosongkosong.scheduler;

import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 *
 * @author ifnu
 */
@Controller
public class MatchParserScheduler {

    @RequestMapping(value="/parse-match",method=RequestMethod.GET)
    public void parseMatch(HttpServletResponse response) throws Exception{

        //get comentary minute by minute
        //translate to bahasa indonesia using google translate service
        //save to datastore

        //getstatistic
        //score
        //card
        //substitution
        response.getOutputStream().close();
    }

}
